﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;

namespace Gfw.Web.Models.Stock
{
    /// <summary>
    /// 交易记录模型
    /// </summary>
    public class BargainRecordModel
    {
        public string Id { get; set; }

        [Display(Name = "交易类型")]
        public int BargainType { get; set; }

        [Display(Name = "成交价")]
        [DataType(DataType.Text)]
        public decimal ActualPrice { get; set; }

        [Display(Name = "成交数")]
        //[DataType(DataType.Text)]
        public decimal ActualCount { get; set; }

        [Display(Name = "成交额")]
        [DataType(DataType.Currency)]
        public decimal TotalPrice { get; set; }

        [DataType(DataType.DateTime)]
        [Display(Name = "日期")]
        public DateTime? BargainDate { get; set; }
    }
}
